package com.example.capsule_chat0322.bean;

import android.app.Activity;

import androidx.recyclerview.widget.RecyclerView;


import com.example.capsule_chat0322.adapter.MsgAdapter;

import java.util.List;

/**
 * @Author zhuzhiming
 * @Date 2022/5/1 0:03
 */
public class GlobalRoomBean {

    private boolean isTemporary;
    private String roomName;
    private RecyclerView msgRecyclerView;
    private MsgAdapter adapter;
    private List<Msg> msgList;
    private Activity activity;

    public boolean isTemporary() {
        return isTemporary;
    }

    public void setTemporary(boolean temporary) {
        isTemporary = temporary;
    }

    public Activity getActivity() {
        return activity;
    }

    public void setActivity(Activity activity) {
        this.activity = activity;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public RecyclerView getMsgRecyclerView() {
        return msgRecyclerView;
    }

    public void setMsgRecyclerView(RecyclerView msgRecyclerView) {
        this.msgRecyclerView = msgRecyclerView;
    }

    public MsgAdapter getAdapter() {
        return adapter;
    }

    public void setAdapter(MsgAdapter adapter) {
        this.adapter = adapter;
    }

    public List<Msg> getMsgList() {
        return msgList;
    }

    public void setMsgList(List<Msg> msgList) {
        this.msgList = msgList;
    }

    @Override
    public String toString() {
        return "GlobalRoomBean{" +
                "roomName='" + roomName + '\'' +
                ", msgRecyclerView=" + msgRecyclerView +
                ", adapter=" + adapter +
                ", msgList=" + msgList +
                '}';
    }
}
